package com.atguigu.mybatis.mapper;

import com.atguigu.mybatis.entity.Department;

import java.util.List;

public interface DepartmentMapper {
    List<Department> selectAll();

    /**
     * 根据 id 查询 Department 对象并且加载它关联的员工数据集合
     * @param deptId
     * @return
     */
    Department selectById(Integer deptId);
}
